Randomized Hough Transform (RHT) in Engineering Drawing Vectorization System

نویسندگان

  • Pekka Kultanen
  • Erkki Oja
  • Lei Xu
چکیده

When the data is processed from the digitized drawThis paper presents how the recently presented Randomized IIough Transform (RHT) method can be used as a part of an engineering drawing vectorization system. The RHT algorithm is capable of recognizing and fitting straight line segments, circles, arcs and conic curve segments, in preprocessed images (eg. after noise removal, void filling). The thinning phase is not necessarily needed. The RHT method is based on the fact that a single parameter space point representing a curve in the image space, can be determined uniquely with a pair, triple, or generally n-tuple of points from the image. These point tuples can be chosen randomly and Hough transform like accumulation is used to detect curve parameters. Preliminary computer experiments using engineering drawings which contain line segments, circles with variable radius and other data, have shown that RIIT has reasonable performance in the line extraction task. It avoids problems which are faced with standard Hough transform (HT) techniques such as low parameter resolution, high storage and time complexities. A typical engineering drawing vectorization system consists of several preprocessing phases, the curve extraction phase and finally the vectorization phase [l, 2, 3,4]. Engineering drawings contain lots of different curves and symbols and due to their purpose must b e very accurately digitized. This leads to large data sets t o process. Almost all algorithms used in different phases have relatively poor time and storage complexities and are often iterative in nature. Especially the line or curve extraction phase is time consuming if done with some of the standard algorithms known within image processing field such as Hough transform. Engineering drawings contain lots of different curves and symbols and due t o their purpose must be very accurately digitized. This leads t o large data sets to process. ing towards the vector representation, the data set is reduced all the time. If the data set can be reduced as early as possible the amount of CPU time at later phases can be greatly reduced. The RHT algorithm can be used either on the raw image, just after the noise removal phase or land after the thinning phase. Due to the nature of the RHT it can extract the clearly detectable curves, eg. dominant curves, very rapidly from the large data set and later, after reducing the data set with thinning, the remaining detectable curve segments can be extracted. The RHT algorithm does not need any windowing techniques which also releases the vectorization phase from extra work. The algorithm can be used simultaneously to the whole area of the drawing or if needed only to some portion of it. Some small drawing components such as arrow heads, letters and small symbols cannot be extracted from the image data with RHT. This is because small objects, for example small line segments are not exactly lines on the square grid and cannot be recognized with H T techniques. In section 2, the RHT algorithm is briefly reviewed and some of its properties are discussed and in section 3 it is shown how the RHT fits in engineering drawing vectorization system. Finally some results are shown and some remarks are represented. 2 The RHT algorithm reviewed The exact algorithm for extracting line segments, and variants of the basic algorithm applicable to extracting higher order curves, have been presented in [5, 6, 71. In the following we review the RHT in the case of straight line segments and refer t o details in our earlier work. The basis of the RHT in the line case lie in the fact that a single parameter space point representing a line in an image can be determined uniquely with a pair of points from the image. These points can be chosen using random sampling from the data set which is formed of all the binary image pixels which are considered 'on' pixels. The parameterized line can be expressed with a simple parametrization as and the parameters (a, 6) can be solved from the joint equations (2) if two points (xl, yl) and (xz, yz) are known. The basic algorithm is as follows: 1. Form the set D of the coordinates (x, y) of all the 'on' pixels in the image. 2. Pick randomly a point pair from the set D and solve the parameters (a, 6) from eq. 2. 3. Accumulate accumulator space A in location (a, b) . 4. If a high enough peak is detected in accumulator space A proceed as follows: (a) extract and remove the corresponding line segment from the image (b) form the set D again from the remaining 'on' pixels in the image (c) zero the whole accumulator space. 5. Go to step 1, if the stopping criteria is not fulfilled. The implementation of the accumulator space need not be a static array of accumulators as normally with HT. Accumulator A can be realized with a dynamic data structure which can contain accumulator cells with arbitrary resolution and with arbitrary range of values. RHT solves in a natural way the difficulty of finding maxima encountered by the standard HT. The selection of the threshold value for detecting maximum in accumulator space has been discussed in [7]. Normally in the line case the threshold can be as low as 2 and for higher order curves 3 or 4. The complexities for time and storage are also analyzed [7] and they are shown to be far under the time and storage complexities of the HT. The stopping criteria mentioned in step 5 can vary depending on the image. In the ideal case when no noise is present the algorithm stops when the set D is empty. Practical stopping criteria are based on a threshold for the number of remaining pixels and an upper threshold for the number of picked point pairs without having found a maximum. This basic algorithm can be easily extended to higher order curve detection. For circles with constant radius a point pair is again picked and the center point of assumed circle is solved [5]. For circles with variable radius a point triplet is picked and to detect any conic curve segment five points have to be picked [7]. The basic ideas of the RHT led to small accumulator space consumption and high computational speed. 3 RHT algorithm in engineering drawing vectorization system The RHT algorithm cannot itself solve the vectorization problem. Its benefits are most efficiently used if RHT is embedded to a vectorization system as shown in figure 1. RHT algorithm can be used to extract curves before and/or after the thinning phase. Usage of the RHT before the thinning phase is based on the assumption that a drawing contains some curves whose 'probability mass' is high. If all curves have almost equal mass (e.g. amount of pixels lying on the curve) it is preferable to reduce the data set D as much as possible. If the RHT is used also to extract higher order curves such as circles, it is again preferable to reduce the data set D as much as possible before applying RHT. This is best done by thinning and extracting first lines out of the image. RHT algorithm can be applied to the whole drawing area at once or if needed to a smaller portion of it, but no windowing is necessary. This fact is based on the random sampling idea. If the drawing is sampled using uniform distribution the most dominant curves will be detected first. Main advantages using RHT in curve extraction phasc are the fast reduction of the data set D, the accuracy, and the small storage complexity of the algorithm. RHT still has some disadvantages which are met at the end of the extraction phase. When all remaining curve instances are small enough they are not easily detected with RHT. This is due to digital topology problems on a square grid. For example small line segments consisting of only few pixels form actually no real lines and their parameters are not found by any HT like algorithm any more.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Connective Randomized Hough Transform (crht)

A new branch of Hough Transform algorithms, called probabilistic Hough Transforms, has been actively developed in recent years. One of the rst was a new and eecient probabilistic version of the Hough Transform for curve detection, the Randomized Hough Transform (RHT). The RHT picks n pixels from an edge image by random sampling to solve n parameters of a curve and then accumulates only one cell...

متن کامل

Randomized or probabilistic Hough transform: unified performance evaluation

Rapid computation of the Hough Transform is necessary in very many computer vision applications. One of the major approaches for fast Hough Transform computation is based on the use of a small random sample of the data set rather than the full set. Two diierent algorithms within this family are the Randomized Hough Transform (RHT) and the Probabilistic Hough Transform (PHT). There have been con...

متن کامل

Comparisons of Probabilistic and Non-probabilistic Hough Transforms

A new and eecient version of the Hough Transform for curve detection, the Randomized Hough Transform (RHT), has been recently suggested. The RHT selects n pixels from an edge image by random sampling to solve n parameters of a curve and then accumulates only one cell in a parameter space. In this paper, the RHT is related to other recent developments of the Hough Transform by experimental tests...

متن کامل

Randomized Fuzzy Cell Hough Transform

Randomized Hough Transform (RHT) has been recently proposed as a new and eecient variation of the Hough Transform for curve detection. In this paper the RHT is combined with the Fuzzy Cell Hough Transform (FCHT) and a new variation, the Randomized Fuzzy Cell Hough Transform (RFCHT) is proposed. The p-dimensional parameter space of Hough Transform is split into fuzzy cells with overlapped interv...

متن کامل

On a High-Speed Hough Transform Algorithm MRHT

Line detection using IIor~gh transform is one of the robust image processing methods for noisy images. Hut Hough t,ransform has a problem whose computation cost is very large in general. In order to ease this problem, many high-speed algorithms had been proposed. In this paper, we propose a new high-speed algorithm called MRHT (Multiple Randomized Hough Transform) which combines randomized edge...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1990